class SetRaidHours < ActiveRecord::Migration
  def self.up
    Raid.find(:all).each { |raid|
      if (raid.date.hour == 0 and raid.date.min == 0)
        raid.date = Time.at(raid.date.to_i + (60 * 60 * 19))  # 19:00
        raid.save
      end
    }
  end

  def self.down
  end
end
